<%@ include file="connect.jsp" %>

<%
    String namaGames = request.getParameter("namaGames");
    String gamesID = request.getParameter("id");
    String sound = request.getParameter("sound");
    String gamesbc = request.getParameter("before");

    stat.executeUpdate("Update GAMES set gamesName = '" + namaGames + "', sound = '"+ sound +"' where gamesID =  '"+ gamesID +"' ");

    response.sendRedirect("games.jsp?respon=Case's Name " + gamesbc + " has been updated to " + namaGames);



%>